home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / chunks.z / chunks
Encoding:
Text File  |  2002-10-03  |  2.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. cccchhhhuuuunnnnkkkkssss((((3333GGGG))))                                                          cccchhhhuuuunnnnkkkkssss((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cccchhhhuuuunnnnkkkkssss - specifies minimum object size in memory
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee cccchhhhuuuunnnnkkkkssss((((cccchhhhuuuunnnnkkkk))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 cccchhhhuuuunnnnkkkk
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _c_h_u_n_k   Expects the minimum memory size to allocate for an object.  As
  17.              you add objects to a display list, _c_h_u_n_k is the unit size (in
  18.              bytes) by which the memory allocated to the display list grows.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      cccchhhhuuuunnnnkkkkssss specifies the minimum object memory size.  You can call it only
  22.      once after graphics initialization and before the first mmmmaaaakkkkeeeeoooobbbb.
  23.  
  24.      If you do not use this function, the system assumes a chunk size of 1020
  25.      bytes.  This is usually more than large enough.  Therefore, you generally
  26.      need to use cccchhhhuuuunnnnkkkkssss only if your application is running up against the
  27.      memory limits, and you know that 1020 bytes per object is too much.
  28.  
  29.      But be careful, if cccchhhhuuuunnnnkkkkssss is set too small, complex objects (e.g.,
  30.      multi-sided polygons) will not display.  Each object in a display list
  31.      must fit entirely into a single chunk.  Some experimentation may be
  32.      necessary to determine the optimal chunksize for an application.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      compac, makeob
  36.  
  37. NNNNOOOOTTTTEEEE
  38.      This routine is available only in immediate mode.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.